package com.dmpp.mes.dao;

import com.dmpp.mes.parameterInfo.Category;
import com.dmpp.mes.parameterInfo.MaterialClassification;

import java.util.List;

public interface CategoryMapper {

    //原材料
    List<Category> findAll(Category category);

    Category findByCode(Category category);

    void insert(Category category);

    void updateByCode(Category category);

    void deleteByCode(Category category);

    int count(Category category);

    int semiProductCount(Category category);

    int productCount(Category category);

    void delete(Category category);


}
